package me.zhengjie.modules.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体
 */
@Data
@TableName("sys_user")
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    @TableField("nick_name")
    private String nickName;

    private String email;

    private String phone;

    private String avatar;

    private Boolean enabled;

    @TableField("create_time")
    private Date createTime;

    private String openid;  // 微信openid字段
} 